package cn.lili.modules.grab.xdxt.reps.order;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderCallbackReps {
    private int code;
    private String msg;
    private List<Result> result;

    // Getters and setters
    // ...

    public static class Result {
        private String eventKey;
        private String eventDesc;
        private List<ChangesContent> changesContent;

        // Getters and setters
        // ...

        public static class ChangesContent {
            private String unionNo;
            private List<OrderDeliveredList> orderDeliveredList;

            // Getters and setters
            // ...

            public static class OrderDeliveredList {
                private String expName;
                private String expNo;
                private String expCode;
                private List<Package> packageList;

                // Getters and setters
                // ...

                public static class Package {
                    private int orderDetailId;
                    private int num;
                    private String deliveredTime;

                    // Getters and setters
                    // ...
                }
            }
        }
    }

}
